package com.sunwayworld.basemodule.business.result.dao.impl;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.sunwayworld.basemodule.business.result.bean.LimsRunEquipBean;
import com.sunwayworld.basemodule.business.result.dao.LimsRunEquipDao;
import com.sunwayworld.basemodule.business.result.mapper.LimsRunEquipMapper;
import com.sunwayworld.framework.mybatis.dao.MybatisDaoSupport;
import com.sunwayworld.framework.spring.annotation.GikamBean;

import java.util.List;
import java.util.Map;

@Repository
@GikamBean
public class LimsRunEquipDaoImpl extends MybatisDaoSupport<LimsRunEquipBean, Long> implements LimsRunEquipDao {

    @Autowired
    private LimsRunEquipMapper limsRunEquipMapper;

    @Override
    public LimsRunEquipMapper getMapper() {
        return limsRunEquipMapper;
    }

    @Override
    public List<Map<String, Object>> selectEquipInfoByRunId(MapperParameter parameter) {
        return limsRunEquipMapper.selectEquiptInfoByRunId(parameter);
    }
}
